//
//  CategoryHeaderView.h
//  LvXi_newVersion
//
//  Created by 王敏 on 16/8/30.
//  Copyright © 2016年 SJT. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CategoryHeaderView;
@protocol CategoryHeaderViewDelegate <NSObject>
@optional
-(void)CategoryHeaderView:(CategoryHeaderView*)categoryHeaderView hiddenWithCat_id:(NSString*)cat_id sortType:(NSInteger)sortType priceRange:(NSInteger)priceRane discounts:(NSArray*)discounts;
@end

@interface CategoryHeaderView : UIView
/**代理指针*/
@property(nonatomic,assign)id<CategoryHeaderViewDelegate> delegate;

/**分类数组*/
@property(nonatomic,strong)NSArray * categoryArray;

@property(nonatomic,strong)NSString * cat_id;
@property(nonatomic,assign)NSInteger sortType;
@property(nonatomic,assign)NSInteger priceRane;
@property(nonatomic,strong)NSArray * discounts;

-(void)hidden;
@end
